package com.cx.testproject.api.baseapi.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import com.cx.testproject.api.baseapi.model.*;
import com.alibaba.fastjson.JSONObject;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;

@Api(tags = {"Accounts" }, description = "完整账户")
@RestController
@RequestMapping("/baseapi/accounts")
public class AccountsResource {

	@ApiOperation(value = "Save", tags = {"Accounts" },  notes = "Save")
    @RequestMapping(method= RequestMethod.POST , value="/{accountid}/save")
	public Accounts SaveAccount(@PathVariable String accountid/*,@RequestBody Accounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "Remove", tags = {"Accounts" },  notes = "Remove")
    @RequestMapping(method= RequestMethod.DELETE , value="/{accountid}")
	public Accounts RemoveAccount(@PathVariable String accountid/*,@RequestBody Accounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "Update", tags = {"Accounts" },  notes = "Update")
    @RequestMapping(method= RequestMethod.PUT , value="/{accountid}")
	public Accounts UpdateAccount(@PathVariable String accountid/*,@RequestBody Accounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "CheckKey", tags = {"Accounts" },  notes = "CheckKey")
    @RequestMapping(method= RequestMethod.POST , value="/{accountid}/checkkey")
	public Accounts CheckKeyAccount(@PathVariable String accountid/*,@RequestBody Accounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "Create", tags = {"Accounts" },  notes = "Create")
    @RequestMapping(method= RequestMethod.POST , value="")
	public Accounts CreateAccount(@PathVariable String accountid/*,@RequestBody Accounts account*/) {
		return null ;
	}
	

	@ApiOperation(value = "Get", tags = {"Accounts" },  notes = "Get")
    @RequestMapping(method= RequestMethod.GET , value="/{accountid}")
	public Accounts GetAccount(@PathVariable String accountid) {
		return null ;
	}
	

	@ApiOperation(value = "GetDraft", tags = {"Accounts" },  notes = "GetDraft")
    @RequestMapping(method= RequestMethod.GET , value="/{accountid}/getdraft")
	public Accounts GetDraftAccount(@PathVariable String accountid) {
		return null ;
	}
	

	@ApiOperation(value = "获取DEFAULT", tags = {"Accounts" } ,notes = "获取DEFAULT")
    @RequestMapping(method= RequestMethod.POST , value="/search")
	public List<Accounts> searchAccount () {
		return null ;
	}
	


}
